package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "samplecharacteristics")
public class Samplecharacteristics {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "width")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> width = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "height")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> height = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "anamorphic")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> anamorphic = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "pixelaspectratio")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> pixelaspectratio = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "fielddominance")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> fielddominance = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "colordepth")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> colordepth = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "codec")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Codec> codec = new ArrayList<Codec>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "depth")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> depth = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "samplerate")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> samplerate = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "rate")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Rate> rate = new ArrayList<Rate>();

}
